import request from '@/utils/request'


export function getDicts(name) {
  return request({
    'url': '/dict/data/type/'+name,
    'method': 'get',
  })
}

export function getJobs(){
	return request({
		'url':"/work/job",
		'method': 'get'
	})
}

export function getMaterial(){
	return request({
		'url':"/material",
		'method': 'get'
	})
}

export function getFile(fileName){
	return request({
		'url':"/file/oss-url?objectName="+fileName,
		'method': 'get'
	})
}